package pile.pay.config.wxConfig;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 微信支付参数
 */
@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
@ApiModel(value = "微信支付参数WxPayEntity对象")
public class WxPayEntity {

    //用户openid
    @ApiModelProperty("用户openid")
    private String openId;

    //商户订单号
    @ApiModelProperty("商户订单号")
    private String outTradeNo;

    //支付金额
    @ApiModelProperty("支付金额")
    private Float total;

    //商品描述
    @ApiModelProperty("商品描述")
    private String description;

    //ip
    @ApiModelProperty("ip")
    private String ip;

    //附加数据
    @ApiModelProperty("附加数据")
    private String attach;

    //渠道
    @ApiModelProperty("渠道")
    private Integer channel = 1;

    //用户ID
    @ApiModelProperty("用户ID")
    private Integer memberId;


}
